CREATE EXTERNAL TABLE jms_dwd.`dwd_mix_task_instance_fields_dt` (
  `dag_id`                  string,
  `task_id`                 string,
  `start_date`              string,
  `end_date`                string,
  `duration`                string,
  `run_id`                  string,
  `state`                   string,
  `try_number`              string,
  `max_tries`               string,
  `hostname`                string,
  `unixname`                string,
  `job_id`                  string,
  `pool`                    string,
  `pool_slots`              string,
  `queue`                   string,
  `priority_weight`         string,
  `operator`                string,
  `queued_dttm`             string,
  `queued_by_job_id`        string,
  `pid`                     string,
  `executor_config`         string,
  `updated_at`              string,
  `external_executor_id`    string,
  `trigger_id`              string,
  `trigger_timeout`         string,
  `next_method`             string,
  `num_executors`           string,
  `executor_cores`          string,
  `executor_memory`         string,
  `driver_cores`            string,
  `driver_memory`           string,
  `yarn_queue`              string,
  `memory_overhead`         string,
  `max_executors`           string,
  `spark_partitions`        string,
  `yarn_name`               string,
  `rendered_fields`         string
) COMMENT ''
PARTITIONED BY (
  `dt` string COMMENT '创建日期 (yyyy-MM-dd)')
stored as parquet
location '/dw/hive/jms_dwd.db/external/dwd_mix_task_instance_fields_dt'